package com.sh.business.domain.vo;

import com.sh.common.translation.constant.TransConstant;
import com.sh.common.translation.annotation.Translation;
import com.sh.business.domain.Feedback;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.sh.common.excel.annotation.ExcelDictFormat;
import com.sh.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 用户反馈视图对象 bms_feedback
 *
 * @author ruoyi
 * @date 2025-01-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Feedback.class)
public class FeedbackVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 公告ID
     */
    @ExcelProperty(value = "公告ID")
    private Long feedbackId;

    /**
     * 反馈内容
     */
    @ExcelProperty(value = "反馈内容")
    private String feedbackContent;

    /**
     * 反馈图片
     */
    @ExcelProperty(value = "反馈图片")
    private String feedbackImg;

    /**
     * 反馈图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "feedbackImg")
    private String feedbackImgUrl;
    /**
     * 回复内容
     */
    @ExcelProperty(value = "回复内容")
    private String replayContent;

    /**
     * 状态（0待处理 1已处理）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "biz_status_type")
    private Boolean status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
